package com.pmsystem.dao;

import com.pmsystem.pojo.News;
import com.pmsystem.pojo.Office;
import com.pmsystem.pojo.OfficeExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OfficeMapper {
    long countByExample(OfficeExample example);

    int deleteByExample(OfficeExample example);

    int insert(Office record);

    int insertSelective(Office record);

    List<Office> selectByExample(OfficeExample example);
    
    Office selectByPrimaryKey(Integer officeAreaId);

    int updateByExampleSelective(@Param("record") Office record, @Param("example") OfficeExample example);

    int updateByExample(@Param("record") Office record, @Param("example") OfficeExample example);
}